#ifndef QTOUCH_H
#define QTOUCH_H

class QTouch : public QInputEvent
{
public:
    QTouch(int id, QPointF pos);

    float getx() const { return pos.x() };
    float getY() const { return pos.y() };
    int getID() const { return id };
    
private:
    int id;
    QPointF pos;
};

#endif // QTOUCHEVENT_H
